<template>
 <div class="school">
    <h2 @click="showName">学校名称：{{name}}</h2>
    <h2>学校地址：{{address}}</h2>
 </div>
</template>

<script>
// 引入混入
// import { mixin } from '../mixin'
export default {
  name: 'School',
  // mixins: [mixin],
  data() {
    return {
      name: "名称",
      address: '地址'
    }
  }
}
</script>